package java_012_everyday2;

import java.util.Scanner;

public class PrimeFactor {
	public static void main(String[] args) {
		Scanner sc =new Scanner(System.in);
		int num = sc.nextInt();
		System.out.print(num+"=");
		for (int i=2;i<=num;i++){
			while(num!=i){
				if (num%i==0){
					System.out.print(i+"*");
					num=num/i;
				}else{
					break;
				}
			}
		}
		System.out.print(num);
	}
}
